#ifndef CCAMERA_H
    #define CCAMERA_H
 
#include <SDL.h>
#include "Define.h"
 
enum TargetMode
{
    TARGET_MODE_NORMAL,
    TARGET_MODE_CENTER
};
 
class CCamera
{
    public:
        CCamera();
        static CCamera CameraControl;
        TargetMode Mode;
        
        void OnMove(int MoveX, int MoveY);
        int GetX();
        int GetY();
        void SetPos(int X, int Y);
        void SetTarget(float* X, float* Y);
 
    private:
        int X;
        int Y;
 
        float* TargetX;
        float* TargetY;
};
 
#endif